package cn.iocoder.yudao.module.handguard.controller.app.orderprocessrecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 订单审核流程记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderProcessRecordPageReqVO extends PageParam {

    @Schema(description = "申请记录id", example = "16345")
    private Long orderApplicationId;

    @Schema(description = "用户ID", example = "5490")
    private Long userId;

    @Schema(description = "流程 1.资料审核、2.银行面签填贷款申请表、3.考察抵押物和经营场所、4.银行出批复5.银行面签抵押合同和借款合同、6.办理抵押、7.办公证、8.放款")
    private String flowN;

    @Schema(description = "失败原因")
    private String causeOfFailure;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "是否通过，1：通过，2未通过")
    private String isFail;

}
